package com.mjk.manager.workflow.work.constns;

/**
 * 节点类型
 */
public enum NodeType {
    THEN("0","串行节点"),
    WHEN("1","并行节点"),
    SWITCH("2","选择节点"),
    IF("3","判断节点"),
    FOR("4","循环节点"),
    ;
    private final String type;
    private final String name;
    NodeType(String type, String name){
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
